<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="手动实名认证">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                       
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form name="form1" method="post" action="/admin/operate/manualRealName.html" onsubmit="return checkForm();" autocomplete="off">
                                    <div class="valBox w750">
                                        <div class="top">
                                            <strong>手动实名</strong>
                                        </div>
                                        <div class="val clearfix">
                                            <ul>
                                                <li>
                                                    <div class="title">用户：</div>
                                                    <div class="v">
                                                        <input type="text"  value="<#if user??>${user.userName}</#if>"  disabled="disabled"/>
                                                    </div>
                                                </li>
                                                <li>
                                                    <div class="title">真实姓名：</div>
                                                    <div class="v">
                                                        <input type="text" name="realname" id="realname"/>
                                                    </div>
                                                </li>
                                              	<li>
                                                    <div class="title">身份证号码：</div>
                                                    <div class="v">
                                                        <input type="text" name="cardId" id="cardId"/>
                                                    </div>
                                                </li>
                                            </ul>
                                            <div class="other">
                                            	<input type="hidden" name="userId" value="<#if user??>${user.userId?c}</#if>">
                                                <input type="hidden"  name="actionType" value="realname" />
                                                <input type="submit"  value="确认" class="input-button confirm" />
                                            </div>
                                        </div>
                                    </div>

                                </form>

                            </div>
            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>
    <script>
    		function checkForm(){
    			var realname = $("#realname").val();
    			var cardId = $("#cardId").val();
    			if(realname == ""){
    				alert("真实姓名不能为空！");
    				return false;
    			}
    			if(cardId == ""){
    				alert("身份证号码不能为空！");
    				return false;
    			}
    		}
    </script>

    </body>
</html>
<#include "../jsPage.html">